package cn.xsly.org.domain;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.xsly.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 实体类：
 */
@Data
public class Shop extends BaseDomain {

    private Long id;
    @Excel(name = "店铺名称",width = 20)
    private String name;
    @Excel(name = "店铺电话",width = 20)
    private String tel;
    @Excel(name = "入驻时间",width = 20,exportFormat="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    /*@DateTimeFormat(pattern ="yyyy-MM-dd ")
    @JsonFormat(pattern ="yyyy-MM-dd",timezone ="GMT+8")*/
    private Date registerTime = new Date();
    @Excel(name = "状态",width = 10)
    private Integer state = 1;
    @Excel(name = "店铺地址",width = 30)
    private String address;
    private String logo;
    private Long adminId;
    private Employee username;
    private Employee employee;
    private Employee admin;
}
